package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_Warehouse", catalog="Id")
public class TccWarehouse extends BaseEntity<TccWarehouse> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Cck", nameJava="cck", typeDataBase="varchar")
	private String cck;
	@YsField(nameDataBase="Vck", nameJava="vck", typeDataBase="varchar")
	private String vck;
	@YsField(nameDataBase="CountryCode", nameJava="countryCode", typeDataBase="varchar")
	private String countryCode;
	@YsField(nameDataBase="City", nameJava="city", typeDataBase="varchar")
	private String city;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccWarehouse setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCck() {
		return cck;
	}
	public TccWarehouse setCck(String cck) {
		this.cck = cck;
		return this;
	}
	public String getVck() {
		return vck;
	}
	public TccWarehouse setVck(String vck) {
		this.vck = vck;
		return this;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public TccWarehouse setCountryCode(String countryCode) {
		this.countryCode = countryCode;
		return this;
	}
	public String getCity() {
		return city;
	}
	public TccWarehouse setCity(String city) {
		this.city = city;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccWarehouse setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccWarehouse setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccWarehouse setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccWarehouse setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccWarehouse tccWarehouse(
		String cck,
		String vck,
		String countryCode,
		String city,
		String remark,
		Integer status
			) {
		TccWarehouse entity = new TccWarehouse();
		entity.setCck(cck);
		entity.setVck(vck);
		entity.setCountryCode(countryCode);
		entity.setCity(city);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}